<include file="Public:header"/>
<a href="{:U('/Link')}">返回</a>
<a href="{:U('/Link/typeAdd')}">添加</a>
<table>
    <tr>
        <th>#</th>
        <td>名称</td>
        <td>操作</td>
    </tr>
    <foreach name="types" item="t">
        <tr>
            <td>{$t.itemid}</td>
            <td>{$t.name}</td>
            <td><a href="{:U('/Link/typeEdit/id/'.$t['itemid'])}">编辑</a></td>
        </tr>
    </foreach>
</table>
<include file="Public:footer"/>